package chapter3.No3_2_方法join的使用.demo6;

/**
 * *：
 *    验证join()释放锁
 * Created by Administrator on 2016/11/20.
 */
public class Main {
    public static void main(String[] args) throws InterruptedException {
        ThreadA a = new ThreadA();
        a.start();
        Thread.sleep(500);
        a.methodA();
    }
}
